package com.edu.internship.busi.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_user_role")
public class UserRole{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("用户id")
    private String uId;
    @ApiModelProperty("角色id")
    private String rId;
    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;
}
